package org.ouwa.lms.client.model;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.Inheritance;
import javax.jdo.annotations.PersistenceCapable;

@SuppressWarnings("serial")
@PersistenceCapable(identityType = IdentityType.APPLICATION)
@Inheritance(customStrategy = "complete-table")
public class Instructor extends Account {
	public Instructor() {
		this(null, null);
	}
	
	public Instructor(String name, String email) {
		super(name, email);
	}
	
	public Instructor(Account account) {
		this(account.getName(), account.getEmailAddress());
	}
}
